broker.id={{ hostvars[inventory_hostname]['brokerid'] }}
listeners=PLAINTEXT://0.0.0.0:9092,SSL://0.0.0.0:9192
advertised.listeners=SSL://{{ hostname }}.{{ domain_name }}:2109{{ hostvars[inventory_hostname]['brokerid'] }},PLAINTEXT://{{ inventory_hostname }}:9092
# advertised.listeners=SSL://k{{ hostvars[inventory_hostname]['brokerid'] }}.{{ domain_name }}:2109{{ hostvars[inventory_hostname]['brokerid'] }},PLAINTEXT://{{ inventory_hostname }}:9092
listener.security.protocol.map=SSL:SSL,PLAINTEXT:PLAINTEXT
zookeeper.connect={% for host in groups['zookeeper'] %}{{ host }}:2181{% if not loop.last %},{% endif %}{% endfor %}
zookeeper.connection.timeout.ms=18000
ssl.truststore.location={{ kafka_install_path }}/{{ kafka_link }}/ssl/server.truststore.jks
ssl.truststore.password={{ password }}
ssl.keystore.location={{ kafka_install_path }}/{{ kafka_link }}/ssl/server.keystore.jks
ssl.keystore.password={{ password }}
ssl.key.password={{ password }}
ssl.enabled.protocols=TLSv1.2,TLSv1.1,TLSv1
ssl.client.auth=required
ssl.keystore.type=JKS
ssl.truststore.type=JKS
security.inter.broker.protocol=PLAINTEXT
log.dirs={{ kafka_data_dir }}/kafkadata-{{ hostvars[inventory_hostname]['brokerid'] }}
auto.create.topics.enable=true
auto.leader.rebalance.enable=true
background.threads=10
compression.type=producer
delete.topic.enable=true
leader.imbalance.check.interval.seconds=300
leader.imbalance.per.broker.percentage=10
log.flush.interval.messages=9223372036854775807
log.flush.offset.checkpoint.interval.ms=60000
log.flush.scheduler.interval.ms=9223372036854775807
log.retention.bytes=-1
log.retention.hours=720
log.roll.hours=720
log.roll.jitter.hours=0
log.segment.bytes=1073741824
log.segment.delete.delay.ms=60000
message.max.bytes=5242880
min.insync.replicas=1
num.network.threads=3
num.io.threads=8
num.recovery.threads.per.data.dir=1
num.replica.fetchers=1
offsets.commit.required.acks=-1
offset.metadata.max.bytes=4096
offsets.load.buffer.size=5242880
offsets.retention.check.interval.ms=600000
offsets.retention.minutes=1440
offsets.topic.compression.codec=0
offsets.topic.num.partitions=50 
offsets.commit.timeout.ms=5000
socket.send.buffer.bytes=102400
socket.receive.buffer.bytes=102400
socket.request.max.bytes=104857600
num.partitions=1
offsets.topic.replication.factor=3
offsets.topic.segment.bytes=104857600
queued.max.requests=500
quota.consumer.default=9223372036854775807
quota.producer.default=9223372036854775807
replica.fetch.min.bytes=1
replica.fetch.wait.max.ms=500
replica.high.watermark.checkpoint.interval.ms=5000
replica.lag.time.max.ms=10000
replica.socket.receive.buffer.bytes=65536
replica.socket.timeout.ms=30000
request.timeout.ms=30000
transaction.state.log.replication.factor=1
transaction.state.log.min.isr=1
group.initial.rebalance.delay.ms=0
default.replication.factor=3
broker.id.generation.enable=true
unclean.leader.election.enable=true
zookeeper.session.timeout.ms=6000
zookeeper.set.acl=false
connections.max.idle.ms=600000
controlled.shutdown.enable=true
controlled.shutdown.max.retries=3
controlled.shutdown.retry.backoff.ms=5000
controller.socket.timeout.ms=30000
fetch.purgatory.purge.interval.requests=1000
group.max.session.timeout.ms=300000
group.min.session.timeout.ms=6000
log.cleaner.backoff.ms=15000
log.cleaner.dedupe.buffer.size=134217728
log.cleaner.delete.retention.ms=86400000
log.cleaner.enable=true
log.cleaner.io.buffer.load.factor=0.9
log.cleaner.io.buffer.size=524288
log.cleaner.io.max.bytes.per.second=1.7976931348623157E308
log.cleaner.min.cleanable.ratio=0.5
log.cleaner.min.compaction.lag.ms=0
log.cleaner.threads=1
log.cleanup.policy=delete
log.index.interval.bytes=4096
log.index.size.max.bytes=10485760
log.message.timestamp.difference.max.ms=9223372036854775807
log.message.timestamp.type=CreateTime
log.preallocate=false
log.retention.check.interval.ms=300000 
max.connections.per.ip=2147483647
producer.purgatory.purge.interval.requests=1000
replica.fetch.backoff.ms=1000
replica.fetch.max.bytes=6291456
max.request.size=5242880
fetch.message.max.bytes=6291456
replica.fetch.response.max.bytes=10485760
reserved.broker.max.id=1000
